package codepulse.blogmoon.cn.code.process;

import codepulse.blogmoon.cn.common.context.Context;
import codepulse.blogmoon.cn.system.dto.SysAcctInfoDTO;
import codepulse.blogmoon.cn.system.dubbo.AcctInfoDubboService;
import jakarta.annotation.Resource;
import org.apache.dubbo.config.annotation.DubboReference;

public abstract class AbstractCodeAccountProcess implements CodeAccountProcess {

    @DubboReference
    private AcctInfoDubboService acctInfoDubboService;


    protected SysAcctInfoDTO getAcctInfo() {
        return acctInfoDubboService.getAcctInfo(Context.get().getBizAcctId());
    }
}
